package lambda;

/**
 * @Author: admin
 * @Description:
 * @Date: 2018/10/7 17:08
 */

public class Test{
    public <T,S extends MeteInterface> String run(T t, S s, TestInterface<T, MeteInterface> inter){
        return inter.run(t,s);
    }

    public static void main(String[] args) {
        Test test=new Test();
        String s = test.run("123", ()->{
                    System.out.println("1234");
                },
                (a,b)->{b.go(); return "12345";});
        System.out.println(s);
    }
}
